home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-07-28 | 3.0 KB | 109 lines | [TEXT/MPS ] |
- /*
- File: SpecificAddress.r
-
- Copyright: © 1991-1994 by Apple Computer, Inc.
- All rights reserved.
-
- Part of the AOCE Sample SMSAM Package. Consult the license
- which came with this software for your specific legal rights.
-
- */
-
-
-
- /*
-
- BASED ON:
-
- ####################################################################
- Internet PMSAM Sample Address Template
- 1.0b1 version
-
- Steve Falkenburg
- MacDTS 2/11/93
- AppleLink DEVSUPPORT for questions (if you're a supported seed site)
- ####################################################################
-
- this file contains the PMSAM specific information for the address template
- you should only have to modify this file and not InternetDET.r to get
- things working for your PMSAM address template
-
- to build:
-
- Rez -i "{CIncludes}" "GenericAddress.r" -append -o InternetAddress
- SetFile -t 'detf' InternetAddress
-
- */
-
-
- #ifndef __TYPES__
- #include "Types.r"
- #endif
-
- #ifndef __OCE.R__
- #include "OCE.r"
- #endif
-
- #ifndef __OCE__
- #include "OCE.h"
- #endif
-
- #ifndef __OCETEMPLATES__
- #include "OCETemplates.h"
- #endif
-
-
- // ### names used in templates ################################################################
- //
- // note: to insure no collisions in DET name space, please pre-pend
- // any template names with your 4 character creator, which
- // should be registered through DTS.
-
- #define kSignature 'ALNK' // address type
- #define kAspectTemplateName "ALNK_AddressAspect" // aspect name
- #define kInfoPageTemplateName "ALNK_AddressInfoPage" // info page name
-
- // names which could be displayed
-
- #define kAspectKind "Address" // aspect kind
- #define kNewMenuName "AppleLink Address" // address menu item title
- #define kPopUpTitle "AppleLink" // pop-up menu title
-
-
- // ### default aspect new value corresponding to dett from other file #######################
-
-
- resource 'detb' (kAddressAspect+kDETAspectNewValue, purgeable) {
- kSignature,
- kSignature,
- "AppleLink", // directory name
- kSignature,
- "<User name>", // name of user (in sublist)
- kUserRecTypeBody, // type of record
- "<AppleLinkAddress>" // extension value (our address)
- };
-
-
- // Include all of the appropriate icon suite resources
- #define ICONID (kAddressAspect+kDETAspectMainBitmap)
- include $$SHELL("BLJBovineServer")"BovineServerIcons.rsrc" 'ICN#' (200) as 'ICN#' (ICONID);
- include $$SHELL("BLJBovineServer")"BovineServerIcons.rsrc" 'icl8' (200) as 'icl8' (ICONID);
- include $$SHELL("BLJBovineServer")"BovineServerIcons.rsrc" 'icl4' (200) as 'icl4' (ICONID);
- include $$SHELL("BLJBovineServer")"BovineServerIcons.rsrc" 'ics8' (200) as 'ics8' (ICONID);
- include $$SHELL("BLJBovineServer")"BovineServerIcons.rsrc" 'ics4' (200) as 'ics4' (ICONID);
- include $$SHELL("BLJBovineServer")"BovineServerIcons.rsrc" 'SICN' (200) as 'SICN' (ICONID);
- include $$SHELL("BLJBovineServer")"BovineServerIcons.rsrc" 'ics#' (200) as 'ics#' (ICONID);
-
-
-
- data 'FREF' (128) {
- $"6465 7466 0000 7F" /* detf... */
- };
-
- resource 'BNDL' (128) {
- 'ALNK', 0,
- { 'FREF', { 0, 128 },
- 'ICN#', { 0, ICONID }
- }
- };
-